﻿<src:BaseActivityPanel x:Class="SsTool.Controls.Workflow.EventPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:src="clr-namespace:SsTool.Controls.Workflow"
             mc:Ignorable="d" 
             Width="80"
             Height="50">
    <Border Background="#FF44AA44" BorderBrush="#FF222222" BorderThickness="2" CornerRadius="3">
        <StackPanel>
            <TextBlock Text="{Binding Path=Type.Caption}" HorizontalAlignment="Center" Foreground="White"/>
            <Border BorderBrush="White" BorderThickness="0,1,0,0"/>
            <TextBlock Text="{Binding Caption}" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"/>
        </StackPanel>
    </Border>
</src:BaseActivityPanel>
